import { RouteRecordRaw, RouterView } from 'vue-router';
import AsyncComponent from '../utils/async-component';

const DailyRoute: RouteRecordRaw = {
  path: 'evaluation',
  name: 'evaluation',
  component: RouterView,
  meta: { title: '测评练习' },
  redirect: '/evaluation/sync-practice',
  children: [
    {
      path: 'sync-practice',
      name: 'sync-practice',
      meta: { title: '同步练习' },
      component: AsyncComponent(() => import('@/views/sync-practice/index.vue'))
      // alias: '/evaluation'
    },
  ]
}


export default DailyRoute;
